#include <stdio.h>

enum weekday
{
    SUNDAY,
    MONDAY,
    TUESDAY,
    WEDNESDAY,
    THURSDAY,
    FRIDAY,
    SATURDAY
};
int main(void)
{
    //定义一个枚举类型(自定义的)的变量
    enum weekday day=WEDNESDAY;
    printf("day:%d\n",day);
    return 0;
}